Contextual Menu Help Type Constants
You can pass the following constants in the
inHelpType
parameter of the function
ContextualMenuSelect
to specify the kind of help the application supports. Contextual menu help type constants are available with Appearance Manager 1.0 and later.
enum{
kCMHelpItemNoHelp = 0,
kCMHelpItemAppleGuide = 1,
kCMHelpItemOtherHelp = 2
};
Constant descriptions
-
kCMHelpItemNoHelp
-
The application does not support any help. The Menu Manager will put an appropriate help string into the menu and disable it.
-
kCMHelpItemAppleGuide
-
The application supports Apple Guide help. The Menu Manager will put the name of the main Guide file into the menu and enable it.
-
kCMHelpItemOtherHelp
-
The application supports some other form of help. In this case, the application must also pass a valid string into the
inHelpItemString
parameter of
ContextualMenuSelect
. This string will be the text of the help item in the menu, and the help item will be enabled.
© 1998 Apple Computer, Inc. - (Last Updated 19 Nov 98)